package com.sdp.wz.db.wz_warehouse_right.service;

import com.sdp.wz.db.wz_warehouse_right.entity.WzWarehouseRight;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zsp
 * @since 2024-07-29
 */
public interface IWzWarehouseRightService extends IService<WzWarehouseRight> {

	/**
	 * 查询某人是否有此仓库的相应的权限
	 * @param empNo
	 * @param warehouseCode
	 * @param rightType
	 * @return
	 */
	boolean isHaveRight(String empNo,String warehouseCode,String rightType);
	
	/**
	 * 查询某人是否有此仓库的权限
	 * @param empNo
	 * @param warehouseCode
	 * @return
	 */
	boolean isHaveRight(String empNo,String warehouseCode);
}
